package main

import "fmt"

/**
  对函数返回值命名
*/
func main() {

	sum, sub := calc(5, 3)
	fmt.Println(sum, sub)

}

func calc(num1 int, num2 int) (sum int, sub int) {
	sum = num1 + num2
	sub = num1 - num2
	return
}
